﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Configuration;

namespace LINQtoLDAPDemo_Console.disable
{
    public class User
    {
        #region Properties
        public string DistinguishedName
        {
            get
            {
                return string.Format("CN={0} {1},CN=Users,{2}", this.FirstName, this.LastName, ConfigurationSettings.AppSettings["ldapPartition"]);
            }
            set { }
        }

        public string CN
        {
            get;
            set;
        }

        public string Manager { get; set; }
        public int EmployeeID { get; set; }
        public string LastName { get; set; }
        public string FirstName { get; set; }
        public string Notes { get; set; }
        public string HomePhone { get; set; }
        public string Title { get; set; }
        public string TitleOfCourtesy { get; set; }
        public string DisplayName { get; set; }
        #endregion
    }
}
